Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable --legacy_external_runfiles in Bazel tests #20680

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Dec 27, 2023

This requires fixing an actual bug that causes the Windows Java launcher to not find the Java runtime with --nolegacy_external_runfiles.

Work towards #12821

@fmeum fmeum force-pushed the flip-legacy-external-runfiles branch 7 times, most recently from d5e9156 to 733f4c9 Compare December 27, 2023 16:21
@fmeum fmeum changed the title TMP: Flip --legacy_external_runfiles Disable --legacy_external_runfiles in Bazel tests Dec 27, 2023
@fmeum fmeum force-pushed the flip-legacy-external-runfiles branch from 733f4c9 to bb7fd4f Compare December 27, 2023 16:33
@fmeum fmeum marked this pull request as ready for review December 27, 2023 16:50
@fmeum fmeum requested a review from a team as a code owner December 27, 2023 16:50
@fmeum fmeum requested review from sdtwigg and removed request for a team December 27, 2023 16:50
@github-actions github-actions bot added team-Configurability platforms, toolchains, cquery, select(), config transitions awaiting-review PR is awaiting review from an assigned reviewer labels Dec 27, 2023
@fmeum fmeum requested review from lberki and removed request for sdtwigg December 27, 2023 16:51
@sgowroji sgowroji added awaiting-user-response Awaiting a response from the author and removed awaiting-review PR is awaiting review from an assigned reviewer labels Dec 28, 2023
@fmeum fmeum force-pushed the flip-legacy-external-runfiles branch from bb7fd4f to ec2ebba Compare December 29, 2023 10:27
@lberki
Copy link
Contributor

lberki commented Jan 2, 2024

I support this pending an answer to #12821 (comment) .

@fmeum fmeum force-pushed the flip-legacy-external-runfiles branch from ec2ebba to 2119cf2 Compare January 2, 2024 13:28
Prepares for the flip (bazelbuild#12821)
by ensuring that Bazel itself doesn't regress.
@fmeum fmeum force-pushed the flip-legacy-external-runfiles branch from 2119cf2 to 666e2a5 Compare January 25, 2024 13:47
@fmeum
Copy link
Collaborator Author

fmeum commented Jan 25, 2024

@lberki A rebase fixed all test failures. Given that we can't go back to just the external runfiles layout (it breaks runfile lookup from non-main repos), should we merge this?

@lberki
Copy link
Contributor

lberki commented Jan 26, 2024

I support the idea. @Wyverald WDYT? (I don't want to just reach over his head)

@Wyverald Wyverald added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. and removed awaiting-user-response Awaiting a response from the author team-Configurability platforms, toolchains, cquery, select(), config transitions labels Jan 26, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented Jan 26, 2024

@bazel-io fork 7.1.0

@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Jan 26, 2024
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Jan 26, 2024
This requires fixing an actual bug that causes the Windows Java launcher to not find the Java runtime with `--nolegacy_external_runfiles`.

Work towards bazelbuild#12821

Closes bazelbuild#20680.

PiperOrigin-RevId: 601826685
Change-Id: Ib45e60901d47efc06bf875c334edafcaeabc5f1e
@fmeum fmeum deleted the flip-legacy-external-runfiles branch January 26, 2024 22:46
github-merge-queue bot pushed a commit that referenced this pull request Jan 27, 2024
This requires fixing an actual bug that causes the Windows Java launcher
to not find the Java runtime with `--nolegacy_external_runfiles`.

Work towards #12821

Closes #20680.

Commit
3d4491c

PiperOrigin-RevId: 601826685
Change-Id: Ib45e60901d47efc06bf875c334edafcaeabc5f1e

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 7.1.0 RC1. Please test out the release candidate and report any issues as soon as possible. If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=last_rc.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants